{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "3fb32c49-f54d-4de8-92a9-1ec8c9342f08",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "478.36s - pydevd: Sending message related to process being replaced timed-out after 5 seconds\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Requirement already satisfied: torch in /usr/local/miniconda3/lib/python3.8/site-packages (from -r requirements.txt (line 1)) (1.13.0+cu116)\n",
      "Requirement already satisfied: torchvision in /usr/local/miniconda3/lib/python3.8/site-packages (from -r requirements.txt (line 2)) (0.14.0+cu116)\n",
      "Requirement already satisfied: numpy>=1.19.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from -r requirements.txt (line 3)) (1.24.3)\n",
      "Requirement already satisfied: pandas>=1.2.4 in /usr/local/miniconda3/lib/python3.8/site-packages (from -r requirements.txt (line 4)) (2.0.2)\n",
      "Requirement already satisfied: matplotlib>=3.5.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from -r requirements.txt (line 5)) (3.7.1)\n",
      "Collecting opencv-python==4.5.5.64\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/67/50/665a503167396ad347957bea0bd8d5c08c865030b2d1565ff06eba613780/opencv_python-4.5.5.64-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (60.5 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m60.5/60.5 MB\u001b[0m \u001b[31m11.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting transformers>=4.5.1\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/51/51/b87caa939fedf307496e4dbf412f4b909af3d9ca8b189fc3b65c1faa456f/transformers-4.46.3-py3-none-any.whl (10.0 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m10.0/10.0 MB\u001b[0m \u001b[31m13.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m0:01\u001b[0m\n",
      "\u001b[?25hCollecting huggingface-hub>=0.11.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/44/5a/dc6af87c61f89b23439eb95521e4e99862636cfd538ae12fd36be5483e5f/huggingface_hub-0.26.5-py3-none-any.whl (447 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m447.8/447.8 kB\u001b[0m \u001b[31m28.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting tensorboardX\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/44/71/f3e7c9b2ab67e28c572ab4e9d5fa3499e0d252650f96d8a3a03e26677f53/tensorboardX-2.6.2.2-py2.py3-none-any.whl (101 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m101.7/101.7 kB\u001b[0m \u001b[31m7.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting SmilesPE==0.0.3\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/6d/f9/273f54d9d4b42779926291c82a5b3ffea30cff2492ebbe4ce08dccdcc949/SmilesPE-0.0.3-py3-none-any.whl (15 kB)\n",
      "Collecting OpenNMT-py==2.2.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/da/60/67d2f6ad4cda0656fd9e10dffe3845c4a936f8e5b687a12f61d2fe49c668/OpenNMT_py-2.2.0-py3-none-any.whl (216 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m216.8/216.8 kB\u001b[0m \u001b[31m2.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hCollecting rdkit-pypi>=2021.03.2\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/3d/5b/422edc92cbce125beb9767edaf482fdae521af9c411f4736b59e4528bf9b/rdkit_pypi-2022.9.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29.4 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m29.4/29.4 MB\u001b[0m \u001b[31m12.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting fastprogress\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/a7/8f/213223fdee199c55db81e2d0c669f30e8285c5be2526c4ed924de39247da/fastprogress-1.0.3-py3-none-any.whl (12 kB)\n",
      "Collecting gensim\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/5d/5d/21365344f828941818a4ce016f43b9513c4b8e065769927629b66412382e/gensim-4.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (26.6 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m26.6/26.6 MB\u001b[0m \u001b[31m12.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting torchtext==0.5.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/79/ef/54b8da26f37787f5c670ae2199329e7dccf195c060b25628d99e587dac51/torchtext-0.5.0-py3-none-any.whl (73 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m73.2/73.2 kB\u001b[0m \u001b[31m5.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: pyyaml in /usr/local/miniconda3/lib/python3.8/site-packages (from OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (6.0)\n",
      "Collecting pyonmttok<2,>=1.23\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/0a/7f/cc4cae9aaf220b6ebb39bf5c253da0948b492860ce0b71413682d911d82b/pyonmttok-1.37.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.0/17.0 MB\u001b[0m \u001b[31m13.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: tensorboard>=2.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2.13.0)\n",
      "Collecting flask\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/61/80/ffe1da13ad9300f87c93af113edd0638c75138c42a0994becfacac078c06/flask-3.0.3-py3-none-any.whl (101 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m101.7/101.7 kB\u001b[0m \u001b[31m23.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting waitress\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/5b/a9/485c953a1ac4cb98c28e41fd2c7184072df36bbf99734a51d44d04176878/waitress-3.0.0-py3-none-any.whl (56 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m56.7/56.7 kB\u001b[0m \u001b[31m4.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting configargparse\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/6f/b3/b4ac838711fd74a2b4e6f746703cf9dd2cf5462d17dac07e349234e21b97/ConfigArgParse-1.7-py3-none-any.whl (25 kB)\n",
      "Requirement already satisfied: tqdm in /usr/local/miniconda3/lib/python3.8/site-packages (from torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (4.65.0)\n",
      "Collecting sentencepiece\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/d4/eb/57f1f43f60aa3a21296171d353b6597c312b45d9a5addb1fb5313ec3611a/sentencepiece-0.2.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.3/1.3 MB\u001b[0m \u001b[31m13.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: six in /usr/local/miniconda3/lib/python3.8/site-packages (from torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (1.16.0)\n",
      "Requirement already satisfied: requests in /usr/local/miniconda3/lib/python3.8/site-packages (from torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2.29.0)\n",
      "Requirement already satisfied: typing-extensions in /usr/local/miniconda3/lib/python3.8/site-packages (from torch->-r requirements.txt (line 1)) (4.6.2)\n",
      "Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from torchvision->-r requirements.txt (line 2)) (9.5.0)\n",
      "Requirement already satisfied: pytz>=2020.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from pandas>=1.2.4->-r requirements.txt (line 4)) (2023.3)\n",
      "Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from pandas>=1.2.4->-r requirements.txt (line 4)) (2.8.2)\n",
      "Requirement already satisfied: tzdata>=2022.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from pandas>=1.2.4->-r requirements.txt (line 4)) (2023.3)\n",
      "Requirement already satisfied: importlib-resources>=3.2.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (5.12.0)\n",
      "Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (1.4.4)\n",
      "Requirement already satisfied: cycler>=0.10 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (0.11.0)\n",
      "Requirement already satisfied: contourpy>=1.0.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (1.0.7)\n",
      "Requirement already satisfied: fonttools>=4.22.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (4.39.4)\n",
      "Requirement already satisfied: packaging>=20.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (23.0)\n",
      "Requirement already satisfied: pyparsing>=2.3.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from matplotlib>=3.5.3->-r requirements.txt (line 5)) (3.0.9)\n",
      "Collecting filelock\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/b9/f8/feced7779d755758a52d1f6635d990b8d98dc0a29fa568bbe0625f18fdf3/filelock-3.16.1-py3-none-any.whl (16 kB)\n",
      "Collecting tokenizers<0.21,>=0.20\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/02/52/cd7b83b6e0a1fda503ca7184b0162583de6d2f176dda9aa02abf80cb247b/tokenizers-0.20.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m3.0/3.0 MB\u001b[0m \u001b[31m13.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting regex!=2019.12.17\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/5a/c8/dc7153ceb5bcc344f5c4f0291ea45925a5f00009afa3849e91561ac2e847/regex-2024.11.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (785 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m785.1/785.1 kB\u001b[0m \u001b[31m18.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting safetensors>=0.4.1\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/53/62/1d6ffba0a2bc0e6b9f5b50d421493276d9fac5ef49670d06f7b66ea73500/safetensors-0.4.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (436 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m436.1/436.1 kB\u001b[0m \u001b[31m30.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting fsspec>=2023.5.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/c6/b2/454d6e7f0158951d8a78c2e1eb4f69ae81beb8dca5fee9809c6c99e9d0d0/fsspec-2024.10.0-py3-none-any.whl (179 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m179.6/179.6 kB\u001b[0m \u001b[31m14.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: protobuf>=3.20 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboardX->-r requirements.txt (line 9)) (4.23.2)\n",
      "Requirement already satisfied: zipp>=3.1.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from importlib-resources>=3.2.0->matplotlib>=3.5.3->-r requirements.txt (line 5)) (3.15.0)\n",
      "Requirement already satisfied: grpcio>=1.48.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (1.54.2)\n",
      "Requirement already satisfied: setuptools>=41.0.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (66.0.0)\n",
      "Requirement already satisfied: google-auth-oauthlib<1.1,>=0.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (1.0.0)\n",
      "Requirement already satisfied: markdown>=2.6.8 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (3.4.3)\n",
      "Requirement already satisfied: google-auth<3,>=1.6.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2.19.0)\n",
      "Requirement already satisfied: tensorboard-data-server<0.8.0,>=0.7.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (0.7.0)\n",
      "Requirement already satisfied: werkzeug>=1.0.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2.3.4)\n",
      "Requirement already satisfied: absl-py>=0.4 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (1.4.0)\n",
      "Requirement already satisfied: wheel>=0.26 in /usr/local/miniconda3/lib/python3.8/site-packages (from tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (0.38.4)\n",
      "Requirement already satisfied: idna<4,>=2.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (3.4)\n",
      "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2023.5.7)\n",
      "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2.0.4)\n",
      "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchtext==0.5.0->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (1.25.8)\n",
      "Collecting click>=8.1.3\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl (97 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m97.9/97.9 kB\u001b[0m \u001b[31m21.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: Jinja2>=3.1.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from flask->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (3.1.2)\n",
      "Collecting blinker>=1.6.2\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/bb/2a/10164ed1f31196a2f7f3799368a821765c62851ead0e630ab52b8e14b4d0/blinker-1.8.2-py3-none-any.whl (9.5 kB)\n",
      "Requirement already satisfied: importlib-metadata>=3.6.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from flask->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (6.6.0)\n",
      "Collecting itsdangerous>=2.1.2\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/04/96/92447566d16df59b2a776c0fb82dbc4d9e07cd95062562af01e408583fc4/itsdangerous-2.2.0-py3-none-any.whl (16 kB)\n",
      "Collecting werkzeug>=1.0.1\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/6c/69/05837f91dfe42109203ffa3e488214ff86a6d68b2ed6c167da6cdc42349b/werkzeug-3.0.6-py3-none-any.whl (227 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m228.0/228.0 kB\u001b[0m \u001b[31m19.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting smart-open>=1.8.1\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/06/bc/706838af28a542458bffe74a5d0772ca7f207b5495cd9fccfce61ef71f2a/smart_open-7.0.5-py3-none-any.whl (61 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.4/61.4 kB\u001b[0m \u001b[31m5.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: scipy<1.14.0,>=1.7.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from gensim->SmilesPE==0.0.3->-r requirements.txt (line 10)) (1.10.1)\n",
      "Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (5.3.1)\n",
      "Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (0.3.0)\n",
      "Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/miniconda3/lib/python3.8/site-packages (from google-auth<3,>=1.6.3->tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (4.9)\n",
      "Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (1.3.1)\n",
      "Requirement already satisfied: MarkupSafe>=2.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from Jinja2>=3.1.2->flask->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (2.1.2)\n",
      "Collecting wrapt\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/e1/62/5b50c324082081337c2b38daf4bae1de66e87eb126c754b0fa153b3525af/wrapt-1.17.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (85 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m85.6/85.6 kB\u001b[0m \u001b[31m7.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/miniconda3/lib/python3.8/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (0.5.0)\n",
      "Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<1.1,>=0.5->tensorboard>=2.3->OpenNMT-py==2.2.0->-r requirements.txt (line 11)) (3.2.2)\n",
      "Installing collected packages: sentencepiece, wrapt, werkzeug, waitress, tensorboardX, safetensors, regex, rdkit-pypi, pyonmttok, opencv-python, itsdangerous, fsspec, filelock, fastprogress, configargparse, click, blinker, torchtext, smart-open, huggingface-hub, flask, tokenizers, gensim, transformers, SmilesPE, OpenNMT-py\n",
      "  Attempting uninstall: werkzeug\n",
      "    Found existing installation: Werkzeug 2.3.4\n",
      "    Uninstalling Werkzeug-2.3.4:\n",
      "      Successfully uninstalled Werkzeug-2.3.4\n",
      "Successfully installed OpenNMT-py-2.2.0 SmilesPE-0.0.3 blinker-1.8.2 click-8.1.7 configargparse-1.7 fastprogress-1.0.3 filelock-3.16.1 flask-3.0.3 fsspec-2024.10.0 gensim-4.3.3 huggingface-hub-0.26.5 itsdangerous-2.2.0 opencv-python-4.5.5.64 pyonmttok-1.37.1 rdkit-pypi-2022.9.5 regex-2024.11.6 safetensors-0.4.5 sentencepiece-0.2.0 smart-open-7.0.5 tensorboardX-2.6.2.2 tokenizers-0.20.3 torchtext-0.5.0 transformers-4.46.3 waitress-3.0.0 werkzeug-3.0.6 wrapt-1.17.0\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install -r requirements.txt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "2cad0fce-1e49-47e5-acf2-1a73ed9dd05e",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "651.73s - pydevd: Sending message related to process being replaced timed-out after 5 seconds\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Collecting albumentations\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/c5/2f/468208ac3345b59286f5a73dd6e298c111c8a6a5896f658d221cd55ebf8d/albumentations-1.4.18-py3-none-any.whl (224 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m224.0/224.0 kB\u001b[0m \u001b[31m2.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hCollecting pydantic>=2.7.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/62/51/72c18c55cf2f46ff4f91ebcc8f75aa30f7305f3d726be3f4ebffb4ae972b/pydantic-2.10.3-py3-none-any.whl (456 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m457.0/457.0 kB\u001b[0m \u001b[31m5.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting albucore==0.0.17\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/f7/20/9f56b72131ea71c9566f0cc303a9e92156767845164c0f4ec10534630991/albucore-0.0.17-py3-none-any.whl (10 kB)\n",
      "Collecting scikit-image>=0.21.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/33/29/1d696450464d6e13358d3ef185a1fb14a11181c5dab1eb2837c02be86373/scikit_image-0.21.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.9 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.9/13.9 MB\u001b[0m \u001b[31m10.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: scipy>=1.10.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations) (1.10.1)\n",
      "Collecting eval-type-backport\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/ac/ac/aa3d8e0acbcd71140420bc752d7c9779cf3a2a3bb1d7ef30944e38b2cd39/eval_type_backport-0.2.0-py3-none-any.whl (5.9 kB)\n",
      "Requirement already satisfied: PyYAML in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations) (6.0)\n",
      "Collecting numpy>=1.24.4\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/98/5d/5738903efe0ecb73e51eb44feafba32bdba2081263d40c5043568ff60faf/numpy-1.24.4-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m17.3/17.3 MB\u001b[0m \u001b[31m11.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting typing-extensions>=4.9.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/26/9f/ad63fc0248c5379346306f8668cda6e2e2e9c95e01216d2b8ffd9ff037d0/typing_extensions-4.12.2-py3-none-any.whl (37 kB)\n",
      "Collecting opencv-python-headless>=4.9.0.80\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/d1/09/248f86a404567303cdf120e4a301f389b68e3b18e5c0cc428de327da609c/opencv_python_headless-4.10.0.84-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (49.9 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m49.9/49.9 MB\u001b[0m \u001b[31m10.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting annotated-types>=0.6.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/78/b6/6307fbef88d9b5ee7421e68d78a9f162e0da4900bc5f5793f6d3d0e34fb8/annotated_types-0.7.0-py3-none-any.whl (13 kB)\n",
      "Collecting pydantic-core==2.27.1\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/9a/b1/f164d05be347b99b91327ea9dd1118562951d2c86e1ea943ef73636b0810/pydantic_core-2.27.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m8.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: pillow>=9.0.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.21.0->albumentations) (9.5.0)\n",
      "Collecting lazy_loader>=0.2\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/83/60/d497a310bde3f01cb805196ac61b7ad6dc5dcf8dce66634dc34364b20b4f/lazy_loader-0.4-py3-none-any.whl (12 kB)\n",
      "Collecting networkx>=2.8\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/a8/05/9d4f9b78ead6b2661d6e8ea772e111fc4a9fbd866ad0c81906c11206b55e/networkx-3.1-py3-none-any.whl (2.1 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m12.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: packaging>=21 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.21.0->albumentations) (23.0)\n",
      "Collecting imageio>=2.27\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/1e/b7/02adac4e42a691008b5cfb31db98c190e1fc348d1521b9be4429f9454ed1/imageio-2.35.1-py3-none-any.whl (315 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m315.4/315.4 kB\u001b[0m \u001b[31m22.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting tifffile>=2022.8.12\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/06/a3/68d17088a4f09565bc7341fd20490da8191ec4cddde479daaabbe07bb603/tifffile-2023.7.10-py3-none-any.whl (220 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m220.9/220.9 kB\u001b[0m \u001b[31m17.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n",
      "\u001b[?25hCollecting PyWavelets>=1.1.1\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/88/4b/b2b2a6f51e47c091c221bfde976a01a7e5f20e7e5e6341b2b9c4db73d2ed/PyWavelets-1.4.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.9 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m6.9/6.9 MB\u001b[0m \u001b[31m12.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hInstalling collected packages: typing-extensions, numpy, networkx, lazy_loader, eval-type-backport, tifffile, PyWavelets, pydantic-core, opencv-python-headless, imageio, annotated-types, scikit-image, pydantic, albucore, albumentations\n",
      "  Attempting uninstall: typing-extensions\n",
      "    Found existing installation: typing_extensions 4.6.2\n",
      "    Uninstalling typing_extensions-4.6.2:\n",
      "      Successfully uninstalled typing_extensions-4.6.2\n",
      "  Attempting uninstall: numpy\n",
      "    Found existing installation: numpy 1.24.3\n",
      "    Uninstalling numpy-1.24.3:\n",
      "      Successfully uninstalled numpy-1.24.3\n",
      "Successfully installed PyWavelets-1.4.1 albucore-0.0.17 albumentations-1.4.18 annotated-types-0.7.0 eval-type-backport-0.2.0 imageio-2.35.1 lazy_loader-0.4 networkx-3.1 numpy-1.24.4 opencv-python-headless-4.10.0.84 pydantic-2.10.3 pydantic-core-2.27.1 scikit-image-0.21.0 tifffile-2023.7.10 typing-extensions-4.12.2\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install albumentations "
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "fb8c6433-047a-4fdd-a5e2-3c3c08aa0dab",
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "693.43s - pydevd: Sending message related to process being replaced timed-out after 5 seconds\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Collecting timm\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/6b/02/0d8925809296bed4cf841446e1291c3f381fde6d777a1ab2a25a3829b4a4/timm-1.0.12-py3-none-any.whl (2.4 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.4/2.4 MB\u001b[0m \u001b[31m9.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0mta \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: torchvision in /usr/local/miniconda3/lib/python3.8/site-packages (from timm) (0.14.0+cu116)\n",
      "Requirement already satisfied: huggingface_hub in /usr/local/miniconda3/lib/python3.8/site-packages (from timm) (0.26.5)\n",
      "Requirement already satisfied: torch in /usr/local/miniconda3/lib/python3.8/site-packages (from timm) (1.13.0+cu116)\n",
      "Requirement already satisfied: pyyaml in /usr/local/miniconda3/lib/python3.8/site-packages (from timm) (6.0)\n",
      "Requirement already satisfied: safetensors in /usr/local/miniconda3/lib/python3.8/site-packages (from timm) (0.4.5)\n",
      "Requirement already satisfied: fsspec>=2023.5.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from huggingface_hub->timm) (2024.10.0)\n",
      "Requirement already satisfied: requests in /usr/local/miniconda3/lib/python3.8/site-packages (from huggingface_hub->timm) (2.29.0)\n",
      "Requirement already satisfied: typing-extensions>=3.7.4.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from huggingface_hub->timm) (4.12.2)\n",
      "Requirement already satisfied: packaging>=20.9 in /usr/local/miniconda3/lib/python3.8/site-packages (from huggingface_hub->timm) (23.0)\n",
      "Requirement already satisfied: filelock in /usr/local/miniconda3/lib/python3.8/site-packages (from huggingface_hub->timm) (3.16.1)\n",
      "Requirement already satisfied: tqdm>=4.42.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from huggingface_hub->timm) (4.65.0)\n",
      "Requirement already satisfied: numpy in /usr/local/miniconda3/lib/python3.8/site-packages (from torchvision->timm) (1.24.4)\n",
      "Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from torchvision->timm) (9.5.0)\n",
      "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->huggingface_hub->timm) (2023.5.7)\n",
      "Requirement already satisfied: idna<4,>=2.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->huggingface_hub->timm) (3.4)\n",
      "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->huggingface_hub->timm) (1.25.8)\n",
      "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->huggingface_hub->timm) (2.0.4)\n",
      "Installing collected packages: timm\n",
      "Successfully installed timm-1.0.12\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install timm"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "be1503e8-6781-4c16-8b0a-2c678467e9cb",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Collecting albumentations==1.1.0\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/75/27/a8b0a738f8423b7ef9d0c9f8e73d5867395dbdae563c1655e9548cf700b9/albumentations-1.1.0-py3-none-any.whl (102 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m102.4/102.4 kB\u001b[0m \u001b[31m874.9 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: PyYAML in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations==1.1.0) (6.0)\n",
      "Collecting qudida>=0.0.4\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/f0/a1/a5f4bebaa31d109003909809d88aeb0d4b201463a9ea29308d9e4f9e7655/qudida-0.0.4-py3-none-any.whl (3.5 kB)\n",
      "Requirement already satisfied: scikit-image>=0.16.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations==1.1.0) (0.21.0)\n",
      "Requirement already satisfied: scipy in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations==1.1.0) (1.10.1)\n",
      "Requirement already satisfied: opencv-python-headless>=4.1.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations==1.1.0) (4.10.0.84)\n",
      "Requirement already satisfied: numpy>=1.11.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from albumentations==1.1.0) (1.24.4)\n",
      "Requirement already satisfied: typing-extensions in /usr/local/miniconda3/lib/python3.8/site-packages (from qudida>=0.0.4->albumentations==1.1.0) (4.12.2)\n",
      "Requirement already satisfied: scikit-learn>=0.19.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from qudida>=0.0.4->albumentations==1.1.0) (1.2.2)\n",
      "Requirement already satisfied: lazy_loader>=0.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (0.4)\n",
      "Requirement already satisfied: networkx>=2.8 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (3.1)\n",
      "Requirement already satisfied: tifffile>=2022.8.12 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (2023.7.10)\n",
      "Requirement already satisfied: PyWavelets>=1.1.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (1.4.1)\n",
      "Requirement already satisfied: packaging>=21 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (23.0)\n",
      "Requirement already satisfied: imageio>=2.27 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (2.35.1)\n",
      "Requirement already satisfied: pillow>=9.0.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-image>=0.16.1->albumentations==1.1.0) (9.5.0)\n",
      "Requirement already satisfied: joblib>=1.1.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations==1.1.0) (1.2.0)\n",
      "Requirement already satisfied: threadpoolctl>=2.0.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from scikit-learn>=0.19.1->qudida>=0.0.4->albumentations==1.1.0) (3.1.0)\n",
      "Installing collected packages: qudida, albumentations\n",
      "  Attempting uninstall: albumentations\n",
      "    Found existing installation: albumentations 1.4.18\n",
      "    Uninstalling albumentations-1.4.18:\n",
      "      Successfully uninstalled albumentations-1.4.18\n",
      "Successfully installed albumentations-1.1.0 qudida-0.0.4\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install albumentations==1.1.0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "id": "38375c26-68bd-4dbe-a170-fa1fb73fd251",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Collecting timm==0.4.12\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/90/fc/606bc5cf46acac3aa9bd179b3954433c026aaf88ea98d6b19f5d14c336da/timm-0.4.12-py3-none-any.whl (376 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m377.0/377.0 kB\u001b[0m \u001b[31m3.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: torchvision in /usr/local/miniconda3/lib/python3.8/site-packages (from timm==0.4.12) (0.14.0+cu116)\n",
      "Requirement already satisfied: torch>=1.4 in /usr/local/miniconda3/lib/python3.8/site-packages (from timm==0.4.12) (1.13.0+cu116)\n",
      "Requirement already satisfied: typing-extensions in /usr/local/miniconda3/lib/python3.8/site-packages (from torch>=1.4->timm==0.4.12) (4.12.2)\n",
      "Requirement already satisfied: requests in /usr/local/miniconda3/lib/python3.8/site-packages (from torchvision->timm==0.4.12) (2.29.0)\n",
      "Requirement already satisfied: pillow!=8.3.*,>=5.3.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from torchvision->timm==0.4.12) (9.5.0)\n",
      "Requirement already satisfied: numpy in /usr/local/miniconda3/lib/python3.8/site-packages (from torchvision->timm==0.4.12) (1.24.4)\n",
      "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchvision->timm==0.4.12) (1.25.8)\n",
      "Requirement already satisfied: idna<4,>=2.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchvision->timm==0.4.12) (3.4)\n",
      "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchvision->timm==0.4.12) (2.0.4)\n",
      "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests->torchvision->timm==0.4.12) (2023.5.7)\n",
      "Installing collected packages: timm\n",
      "  Attempting uninstall: timm\n",
      "    Found existing installation: timm 1.0.12\n",
      "    Uninstalling timm-1.0.12:\n",
      "      Successfully uninstalled timm-1.0.12\n",
      "Successfully installed timm-0.4.12\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install timm==0.4.12"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "id": "bc85ad19-6f9c-4520-a257-d6eec1718830",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Collecting jupyter\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/38/64/285f20a31679bf547b75602702f7800e74dbabae36ef324f716c02804753/jupyter-1.1.1-py2.py3-none-any.whl (2.7 kB)\n",
      "Collecting ipywidgets\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/22/2d/9c0b76f2f9cc0ebede1b9371b6f317243028ed60b90705863d493bae622e/ipywidgets-8.1.5-py3-none-any.whl (139 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m139.8/139.8 kB\u001b[0m \u001b[31m2.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: nbconvert in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter) (7.4.0)\n",
      "Collecting jupyter-console\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/ca/77/71d78d58f15c22db16328a476426f7ac4a60d3a5a7ba3b9627ee2f7903d4/jupyter_console-6.6.3-py3-none-any.whl (24 kB)\n",
      "Requirement already satisfied: notebook in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter) (6.5.4)\n",
      "Requirement already satisfied: ipykernel in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter) (6.23.1)\n",
      "Requirement already satisfied: jupyterlab in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter) (4.0.0)\n",
      "Requirement already satisfied: traitlets>=4.3.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipywidgets) (5.9.0)\n",
      "Requirement already satisfied: ipython>=6.1.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipywidgets) (8.12.2)\n",
      "Requirement already satisfied: comm>=0.1.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipywidgets) (0.1.3)\n",
      "Collecting widgetsnbextension~=4.0.12\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/21/02/88b65cc394961a60c43c70517066b6b679738caf78506a5da7b88ffcb643/widgetsnbextension-4.0.13-py3-none-any.whl (2.3 MB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.3/2.3 MB\u001b[0m \u001b[31m4.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m00:01\u001b[0m\n",
      "\u001b[?25hCollecting jupyterlab-widgets~=3.0.12\n",
      "  Downloading https://mirrors.aliyun.com/pypi/packages/a9/93/858e87edc634d628e5d752ba944c2833133a28fa87bb093e6832ced36a3e/jupyterlab_widgets-3.0.13-py3-none-any.whl (214 kB)\n",
      "\u001b[2K     \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m214.4/214.4 kB\u001b[0m \u001b[31m5.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0ma \u001b[36m0:00:01\u001b[0m\n",
      "\u001b[?25hRequirement already satisfied: prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (3.0.38)\n",
      "Requirement already satisfied: pexpect>4.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (4.8.0)\n",
      "Requirement already satisfied: backcall in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (0.2.0)\n",
      "Requirement already satisfied: typing-extensions in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (4.12.2)\n",
      "Requirement already satisfied: stack-data in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (0.6.2)\n",
      "Requirement already satisfied: matplotlib-inline in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (0.1.6)\n",
      "Requirement already satisfied: pygments>=2.4.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (2.15.1)\n",
      "Requirement already satisfied: pickleshare in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (0.7.5)\n",
      "Requirement already satisfied: decorator in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (5.1.1)\n",
      "Requirement already satisfied: jedi>=0.16 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipython>=6.1.0->ipywidgets) (0.18.2)\n",
      "Requirement already satisfied: debugpy>=1.6.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (1.6.7)\n",
      "Requirement already satisfied: psutil in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (5.9.5)\n",
      "Requirement already satisfied: pyzmq>=20 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (25.1.0)\n",
      "Requirement already satisfied: packaging in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (23.0)\n",
      "Requirement already satisfied: jupyter-client>=6.1.12 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (8.2.0)\n",
      "Requirement already satisfied: tornado>=6.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (6.3.2)\n",
      "Requirement already satisfied: nest-asyncio in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (1.5.6)\n",
      "Requirement already satisfied: jupyter-core!=5.0.*,>=4.12 in /usr/local/miniconda3/lib/python3.8/site-packages (from ipykernel->jupyter) (5.3.0)\n",
      "Requirement already satisfied: jupyter-lsp>=2.0.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (2.2.0)\n",
      "Requirement already satisfied: importlib-metadata>=4.8.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (6.6.0)\n",
      "Requirement already satisfied: notebook-shim>=0.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (0.2.3)\n",
      "Requirement already satisfied: jinja2>=3.0.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (3.1.2)\n",
      "Requirement already satisfied: tomli in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (2.0.1)\n",
      "Requirement already satisfied: jupyter-server<3,>=2.4.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (2.6.0)\n",
      "Requirement already satisfied: async-lru>=1.0.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (2.0.2)\n",
      "Requirement already satisfied: importlib-resources>=1.4 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (5.12.0)\n",
      "Requirement already satisfied: jupyterlab-server<3,>=2.19.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab->jupyter) (2.22.1)\n",
      "Requirement already satisfied: markupsafe>=2.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (2.1.2)\n",
      "Requirement already satisfied: nbclient>=0.5.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (0.8.0)\n",
      "Requirement already satisfied: mistune<3,>=2.0.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (2.0.5)\n",
      "Requirement already satisfied: beautifulsoup4 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (4.12.2)\n",
      "Requirement already satisfied: nbformat>=5.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (5.8.0)\n",
      "Requirement already satisfied: jupyterlab-pygments in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (0.2.2)\n",
      "Requirement already satisfied: defusedxml in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (0.7.1)\n",
      "Requirement already satisfied: bleach in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (6.0.0)\n",
      "Requirement already satisfied: pandocfilters>=1.4.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (1.5.0)\n",
      "Requirement already satisfied: tinycss2 in /usr/local/miniconda3/lib/python3.8/site-packages (from nbconvert->jupyter) (1.2.1)\n",
      "Requirement already satisfied: ipython-genutils in /usr/local/miniconda3/lib/python3.8/site-packages (from notebook->jupyter) (0.2.0)\n",
      "Requirement already satisfied: nbclassic>=0.4.7 in /usr/local/miniconda3/lib/python3.8/site-packages (from notebook->jupyter) (1.0.0)\n",
      "Requirement already satisfied: prometheus-client in /usr/local/miniconda3/lib/python3.8/site-packages (from notebook->jupyter) (0.17.0)\n",
      "Requirement already satisfied: argon2-cffi in /usr/local/miniconda3/lib/python3.8/site-packages (from notebook->jupyter) (21.3.0)\n",
      "Requirement already satisfied: Send2Trash>=1.8.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from notebook->jupyter) (1.8.2)\n",
      "Requirement already satisfied: terminado>=0.8.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from notebook->jupyter) (0.17.1)\n",
      "Requirement already satisfied: zipp>=0.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from importlib-metadata>=4.8.3->jupyterlab->jupyter) (3.15.0)\n",
      "Requirement already satisfied: parso<0.9.0,>=0.8.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jedi>=0.16->ipython>=6.1.0->ipywidgets) (0.8.3)\n",
      "Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-client>=6.1.12->ipykernel->jupyter) (2.8.2)\n",
      "Requirement already satisfied: platformdirs>=2.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-core!=5.0.*,>=4.12->ipykernel->jupyter) (3.5.1)\n",
      "Requirement already satisfied: overrides in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (7.3.1)\n",
      "Requirement already satisfied: jupyter-server-terminals in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (0.4.4)\n",
      "Requirement already satisfied: jupyter-events>=0.6.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (0.6.3)\n",
      "Requirement already satisfied: websocket-client in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (1.5.2)\n",
      "Requirement already satisfied: anyio>=3.1.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (3.7.0)\n",
      "Requirement already satisfied: jsonschema>=4.17.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (4.17.3)\n",
      "Requirement already satisfied: requests>=2.28 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (2.29.0)\n",
      "Requirement already satisfied: babel>=2.10 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (2.12.1)\n",
      "Requirement already satisfied: json5>=0.9.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (0.9.14)\n",
      "Requirement already satisfied: fastjsonschema in /usr/local/miniconda3/lib/python3.8/site-packages (from nbformat>=5.1->nbconvert->jupyter) (2.17.1)\n",
      "Requirement already satisfied: ptyprocess>=0.5 in /usr/local/miniconda3/lib/python3.8/site-packages (from pexpect>4.3->ipython>=6.1.0->ipywidgets) (0.7.0)\n",
      "Requirement already satisfied: wcwidth in /usr/local/miniconda3/lib/python3.8/site-packages (from prompt-toolkit!=3.0.37,<3.1.0,>=3.0.30->ipython>=6.1.0->ipywidgets) (0.2.6)\n",
      "Requirement already satisfied: argon2-cffi-bindings in /usr/local/miniconda3/lib/python3.8/site-packages (from argon2-cffi->notebook->jupyter) (21.2.0)\n",
      "Requirement already satisfied: soupsieve>1.2 in /usr/local/miniconda3/lib/python3.8/site-packages (from beautifulsoup4->nbconvert->jupyter) (2.4.1)\n",
      "Requirement already satisfied: six>=1.9.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from bleach->nbconvert->jupyter) (1.16.0)\n",
      "Requirement already satisfied: webencodings in /usr/local/miniconda3/lib/python3.8/site-packages (from bleach->nbconvert->jupyter) (0.5.1)\n",
      "Requirement already satisfied: pure-eval in /usr/local/miniconda3/lib/python3.8/site-packages (from stack-data->ipython>=6.1.0->ipywidgets) (0.2.2)\n",
      "Requirement already satisfied: asttokens>=2.1.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from stack-data->ipython>=6.1.0->ipywidgets) (2.2.1)\n",
      "Requirement already satisfied: executing>=1.2.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from stack-data->ipython>=6.1.0->ipywidgets) (1.2.0)\n",
      "Requirement already satisfied: sniffio>=1.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (1.3.0)\n",
      "Requirement already satisfied: exceptiongroup in /usr/local/miniconda3/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (1.1.1)\n",
      "Requirement already satisfied: idna>=2.8 in /usr/local/miniconda3/lib/python3.8/site-packages (from anyio>=3.1.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (3.4)\n",
      "Requirement already satisfied: pytz>=2015.7 in /usr/local/miniconda3/lib/python3.8/site-packages (from babel>=2.10->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (2023.3)\n",
      "Requirement already satisfied: pkgutil-resolve-name>=1.3.10 in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (1.3.10)\n",
      "Requirement already satisfied: attrs>=17.4.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (23.1.0)\n",
      "Requirement already satisfied: pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (0.19.3)\n",
      "Requirement already satisfied: rfc3986-validator>=0.1.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-events>=0.6.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (0.1.1)\n",
      "Requirement already satisfied: python-json-logger>=2.0.4 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-events>=0.6.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (2.0.7)\n",
      "Requirement already satisfied: rfc3339-validator in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-events>=0.6.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (0.1.4)\n",
      "Requirement already satisfied: pyyaml>=5.3 in /usr/local/miniconda3/lib/python3.8/site-packages (from jupyter-events>=0.6.0->jupyter-server<3,>=2.4.0->jupyterlab->jupyter) (6.0)\n",
      "Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests>=2.28->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (1.25.8)\n",
      "Requirement already satisfied: certifi>=2017.4.17 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests>=2.28->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (2023.5.7)\n",
      "Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/miniconda3/lib/python3.8/site-packages (from requests>=2.28->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (2.0.4)\n",
      "Requirement already satisfied: cffi>=1.0.1 in /usr/local/miniconda3/lib/python3.8/site-packages (from argon2-cffi-bindings->argon2-cffi->notebook->jupyter) (1.15.1)\n",
      "Requirement already satisfied: pycparser in /usr/local/miniconda3/lib/python3.8/site-packages (from cffi>=1.0.1->argon2-cffi-bindings->argon2-cffi->notebook->jupyter) (2.21)\n",
      "Requirement already satisfied: webcolors>=1.11 in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (1.13)\n",
      "Requirement already satisfied: isoduration in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (20.11.0)\n",
      "Requirement already satisfied: fqdn in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (1.5.1)\n",
      "Requirement already satisfied: jsonpointer>1.13 in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (2.1)\n",
      "Requirement already satisfied: uri-template in /usr/local/miniconda3/lib/python3.8/site-packages (from jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (1.2.0)\n",
      "Requirement already satisfied: arrow>=0.15.0 in /usr/local/miniconda3/lib/python3.8/site-packages (from isoduration->jsonschema>=4.17.3->jupyterlab-server<3,>=2.19.0->jupyterlab->jupyter) (1.2.3)\n",
      "Installing collected packages: widgetsnbextension, jupyterlab-widgets, ipywidgets, jupyter-console, jupyter\n",
      "Successfully installed ipywidgets-8.1.5 jupyter-1.1.1 jupyter-console-6.6.3 jupyterlab-widgets-3.0.13 widgetsnbextension-4.0.13\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install --upgrade jupyter ipywidgets"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "fbba14b9-9510-4101-be16-afeb83a953b3",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "Requirement already satisfied: jupyterlab_widgets in /usr/local/miniconda3/lib/python3.8/site-packages (3.0.13)\n",
      "\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install jupyterlab_widgets"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "3cb22d97-4424-4d05-bc4d-6314a5cb2b5e",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Looking in indexes: https://mirrors.aliyun.com/pypi/simple\n",
      "\u001b[31mERROR: Could not find a version that satisfies the requirement zipfile (from versions: none)\u001b[0m\u001b[31m\n",
      "\u001b[0m\u001b[31mERROR: No matching distribution found for zipfile\u001b[0m\u001b[31m\n",
      "\u001b[0mNote: you may need to restart the kernel to use updated packages.\n"
     ]
    }
   ],
   "source": [
    "pip install tensorboardX"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "2c961fec-4254-4134-be00-9dbe1fbdaa8b",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.8.10"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
